﻿using Microsoft.Extensions.DependencyInjection;
using Odyssey.Application;
using System;
namespace Athena.Performance.Service
{

    class Program
    {
        private static IServiceProvider BuildServiceCollection(Action<IServiceCollection> action)
        {
            var serviceCollection = new ServiceCollection();
            serviceCollection.AddLogging();
            action?.Invoke(serviceCollection);
            return serviceCollection.BuildServiceProvider();
        }

        static void Main(string[] args)
        {
            new HostBuilder()
                .UseStartup<Startup>()
                .Build()
                .Start();
        }
    }
}
